Repository navigation
A link with ?code= opens Publish with that voucher code typed in - #1622
Merged
Merged
Conversation
…e typed in, ready to apply An event hands attendees a link like /publish?code=AFEW26. The code starts in the voucher field on a new report's agreement and on a report's checks, and leaves the address once applied. A linked code never holds back Activate on a report that already has a code applied.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For the publithon at Africa Evidence Week (30 Nov to 4 Dec), attendees get a link in the session like
/publish?code=AFEW26. The voucher code then waits in the voucher field, so nobody has to type it.codeout of the address.Checked:
npx tsc --noEmitandnpm run check:ui-rulespass. In the browser (this branch on shared dev, verify user):/publish?code=AFEW26, New report, then Sign the agreement shows AFEW26 in the voucher field./publish?code=AFEW26&report=R100680shows it in the checks step's field./publish?code=QAEVENTapplied on the agreement step gives 100% off and US$0 due.Signed out, sign-in is Clerk's modal on the same page, so the code stays in the address. Reviewed by GPT-6.1 Sol, which found nothing to fix.